const dayjs = require("dayjs")
const mongoose = require("../../../db/db");
const { randomUUID } = require("crypto");

/**
 * @description 管理系统 菜单模型
 */
const Schema = mongoose.Schema({
    id: {
        type: String,
    },
    //创建日期
    createDate: {
        type: Number,
    },
    //父ID
    parentId: {
        type: String,
        require: true
    },
    //分类名称
    cateName: {
        type: String,
        require: true
    },
    //排序
    sort: {
        type: Number,
    },
    //状态
    status: {
        type: Number,
        default: "1"
    }
})
const MAIN_TAB_MENU = mongoose.model("MAIN_TAB_CAGETORY", Schema);
module.exports = MAIN_TAB_MENU;